#ifndef _ASCII_ART_HPP
#define _ASCII_ART_HPP

#include <QString>
#include <QLabel>
#include <QImage>
#include <QTextEdit>
#include <QPlainTextEdit>
#include <QRadioButton>
#include <QDirModel>
#include <QThread>
#include <QProgressBar>

class WorkerThread : public QThread
{
     Q_OBJECT

public slots:
    void beginWork(QImage image);

signals:
    void progress(int percent);
    void work_finished(QStringList output);

protected:
     void run();

private:
     QStringList createAsciiArt(const QImage &);
};

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

class AsciiArt{ // : public UVIDIME{

    //Q_OBJECT

public:
    AsciiArt();
    ~AsciiArt();

protected:
    

private:
    //nejaky vystup
    //QPlainTextEdit * code;
    WorkerThread * worker;

//signals:
    //void beginWork(QImage image);

//public slots:
    //void work_finished(QStringList output);

};

#endif
